MailPoet\WooCommerce\Helper A

Total Complexity 74
Dependencies 13
Dependents 54
Total lines 346
Lines of code 246
Logical lines of code 101
Comment lines 29
Methods 43
Properties 1

Methods 43

Method Rating Maintainability Complexity Lines of code
getCouponList()
S
51 5 26
wasMailPoetInstalledViaWooCommerceOnboardingWizard()
S
59 5 14
isCheckoutRequest()
S
65 5 7
getShippingMethodInstancesData()
S
56 3 20
getCustomersCount()
S
63 4 10
isWooCommerceCustomOrdersTableEnabled()
S
64 4 10
isWooCommerceEmailImprovementsEnabled()
S
63 3 10
isWooCommerceBlocksActive()
S
65 3 9
getLatestCoupon()
S
62 2 11
formatShippingMethods()
S
64 2 10
wcGetPageId()
S
71 2 6
getAddressesTableName()
S
69 2 6
getOrdersTableName()
S
69 2 6
getWooCommerceVersion()
S
76 2 3
isWooCommerceActive()
S
79 2 3
wcGetAttributeTaxonomies()
S
81 1 3
getPaymentGateways()
S
81 1 3
getAllowedCountries()
S
79 1 3
getOrderStatuses()
S
81 1 3
createWcCoupon()
S
80 1 3
wcGetCouponCodeById()
S
80 1 3
wcGetCouponTypes()
S
81 1 3
wcGetPriceDecimalSeparator()
S
81 1 3
__construct()
S
81 1 3
getRawPrice()
S
74 1 4
wcGetProduct()
S
80 1 3
getPurchaseStates()
S
72 1 6
WC()
S
81 1 3
wcGetCustomerOrderCount()
S
80 1 3
wcGetOrder()
S
80 1 3
wcGetOrders()
S
80 1 3
wcCreateOrder()
S
80 1 3
wcPrice()
S
79 1 3
wcGetPriceDecimals()
S
81 1 3
getOrdersCountCreatedBefore()
S
63 1 10
wcGetPriceDecimalSeperator()
S
81 1 3
wcGetPriceThousandSeparator()
S
81 1 3
getWoocommercePriceFormat()
S
81 1 3
getWoocommerceCurrency()
S
81 1 3
getWoocommerceCurrencySymbol()
S
81 1 3
woocommerceFormField()
S
79 1 3
wcHexIsLight()
S
80 1 3
wcLightOrDark()
S
79 1 3